package com.fly.video.downloader.core.listener;

import ohos.aafwk.ability.fraction.Fraction;
import ohos.agp.components.Component;
import ohos.app.Context;

abstract public class FragmentListener extends ActivityListener {
    protected Fraction fragment;


    public FragmentListener(Fraction fragment, Context context)
    {
        super(context);
//        this.fragment = fragment;
    }

    public Fraction getFragment() {
        return fragment;
    }

    abstract public void onCreateView(Component view);
    abstract public void onDestroyView();
}
